package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * Created by Administrator on 2016/12/11.
 */
@TableName(value = "attendance")
public class Attendance {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 考勤ID
     */
    @TableId
    private String id;
    /**
     * 员工ID
     */
    private String employeeid;
    /**
     * 部门ID
     */
    private String departmentid;
    /**
     * 事件 0:旷工 1:请假 2:出勤
     */
    private int event;
    /**
     * 日期
     */
    private String date;
    /**
     * 职工号
     */
    private int employeenum;
    /**
     * 状态
     */
    private int datastatus;
    /**
     * 创建时间
     */
    private String createtime;
    /**
     * 修改时间
     */
    private String changetime;
    /**
     * 备注
     */
    private String remarks;
    /**
     * 部门名
     **/
    @TableField(exist = false)
    private String departmentname;

    @TableField(exist = false)
    private String employeename;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEmployeeid() {
        return employeeid;
    }

    public void setEmployeeid(String employeeid) {
        this.employeeid = employeeid;
    }

    public String getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(String departmentid) {
        this.departmentid = departmentid;
    }

    public int getEvent() {
        return event;
    }

    public void setEvent(int event) {
        this.event = event;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getEmployeenum() {
        return employeenum;
    }

    public void setEmployeenum(int employeenum) {
        this.employeenum = employeenum;
    }

    public int getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(int datastatus) {
        this.datastatus = datastatus;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getChangetime() {
        return changetime;
    }

    public void setChangetime(String changetime) {
        this.changetime = changetime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDepartmentname() {
        return departmentname;
    }

    public void setDepartmentname(String departmentname) {
        this.departmentname = departmentname;
    }

    public String getEmployeename() {
        return employeename;
    }

    public void setEmployeename(String employeename) {
        this.employeename = employeename;
    }
}
